package com.ruoyi.dynamic.model.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.core.pojo.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 房间贴纸
 * </p>
 *
 * @author Gnc
 * @since 2025-01-13
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("youban_room_paster")
@ApiModel(value = "RoomPaster对象", description = "房间贴纸")
public class RoomPaster extends BaseEntity<RoomPaster> {
    @ApiModelProperty("名称")
    private String name;

    @ApiModelProperty("图标资源")
    private String iconUrl;

    @ApiModelProperty("字体颜色")
    private String textColor;

    @ApiModelProperty("背景颜色")
    private String bgColor;

    @TableField(exist = false)
    private String content;

    @Schema(description = "画面位置x")
    @TableField(exist = false)
    private Integer xLocation = 0;

    @Schema(description = "画面位置y")
    @TableField(exist = false)
    private Integer yLocation = 30;

    @Schema(description = "0关闭1开启")
    @TableField(exist = false)
    private Integer status = 1;
}
